﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Glorysoft.EAP.Core.Entities.Socket
{
    /// <summary>
    /// 设备参数采集
    /// </summary>
    public class ResponseEdcCollect
    {
        /// <summary>
        /// 实例化响应实体
        /// </summary>
        public EdcCollectResponse Response { get; set; }
        /// <summary>
        /// 默认构造函数
        /// </summary>
        public ResponseEdcCollect()
        {
            Response = new EdcCollectResponse();
            Response.Header = new ResponseHeader();
            Response.Body = new EdcCollectResponseBody();
            Response.Return = new ResponseReturn();
        }
    }
    /// <summary>
    /// 设备启动响应实体类
    /// </summary>
    public class EdcCollectResponse : ResponseBase
    {
        /// <summary>
        /// 响应Body
        /// </summary>
        public EdcCollectResponseBody Body { get; set; }

    }

    /// <summary>
    /// EdcCollect响应的Body属性
    /// </summary>
    public class EdcCollectResponseBody
    {
        /// <summary>
        /// 设备ID
        /// </summary>
        public string EqpID { get; set; }
        /// <summary>
        /// 参数【名称和值的集合】
        /// </summary>
        public List<EdcCollectParaList> ParaList { get; set; }
    }
}
